import QtQuick
import QtQuick.Controls
import Tool 1.0
Item {
    property string fileOpenPageTextAreaText
    property string filePath
    Rectangle{
        Keys.onPressed: {
            if (event.key === Qt.Key_S && event.modifiers === Qt.ControlModifier) {
                // 执行您想要的操作，例如保存文件
                // console.log(123)
                Tool.writeFileOpenInfo(textarea_info.text)
            }
        }

        anchors.fill: parent
        border.width: 3
        border.color: color_MaterialBlue
        TextArea{
            id:textarea_info
            height: parent.height-3*2
            width: parent.width-3*2
            text:fileOpenPageTextAreaText
            font.pixelSize: 20






        }







    }






}
